import request from '@/utils/request'

export function getAllArticleComments() {
  return request({
    url: 'articleComment/getAllArticleComments',
    method: 'get',
  })
}

export function deleteArticleComment(id) {
  return request({
    url: 'articleComment/deleteArticleComment/'+id,
    method: 'get',
  })
}

export function updateArticleComment(data) {
  return request({
    url: 'articleComment/updateArticleComment',
    method: 'post',
    data:data
  })
}
